package edu.sctu.alex.projectPratice.forObject;

import java.util.Random;

/**
 * Created by user03 on 2015/5/28.
 */
public class Eatery {



    public String[] setWindowName(){

        Window window= new Window();

        String[] windowName = {"窗口1", "窗口2"};
        return windowName;

    }
    public int listSeat() {

        Seat seat = new Seat();
        Random random = new Random();
        int seatNumber ;
        seatNumber = random.nextInt(100);
        seat.setSeatNumber(seatNumber);
        System.out.println("可以入座的座位号："+seatNumber);

        return seatNumber;

    }
}
